export type AnalysisTotalTypes = {
  users: number
  messages: number
  moneys: number
  shoppings: number
}

export type UserAccessSource = {
  value: number
  name: string
}

export type WeeklyUserActivity = {
  value: number
  name: string
}

export type MonthlySales = {
  name: string
  estimate: number
  actual: number
}

// 新增统计分析类型
export interface StatisticsData {
  productCount: number
  orderCount: number
  userCount: number
  cartCount: number
  weeklySales: { week: number; salesAmount: number }[]
  monthlySales: { month: number; salesAmount: number }[]
}
